package com.dianping.localcache;

import com.dennytech.tac.utils.DataCursor;

public interface CacheInfoManager {

	String getName();

	int getSize();

	int getCount();

	CacheInfo query(String url);

	boolean insert(CacheInfo cacheInfo);

	boolean delete(CacheInfo cacheInfo);

	boolean clear();

	DataCursor<CacheInfo> iteratorByCreate();

	DataCursor<CacheInfo> iteratorBySize();

	void close();
}
